package ren.steve.model.ngh.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: CIS-T-13 Liu GuoJia
 * @Description: NGH - 数据查询 - TAB标签页 - RESULT标签页
 * @Date: Created in 2024/3/25 15:38
 */

@Data
@ApiModel(description = "NGH-数据查询-RESULT")
@TableName("ngh_query_result")
public class NghQueryResult implements Serializable {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "ID")
  @TableId(type = IdType.AUTO)
  private String id;

  @ApiModelProperty(value = "所属的TAB_ID")
  @TableField("tab_id")
  private Integer tabId;

  @ApiModelProperty(value = "执行的TASK")
  @TableField("task_id")
  private String taskId;

  @ApiModelProperty(value = "Application ID")
  @TableField("application_id")
  private String applicationId;

  @ApiModelProperty(value = "Statement ID")
  @TableField("statement_id")
  private String statementId;

  @ApiModelProperty(value = "执行任务返回的相应信息")
  @TableField("message")
  private String message;

  @ApiModelProperty(value = "执行的队列")
  @TableField("queue")
  private String queue;

  @ApiModelProperty(value = "标签文本")
  @TableField("label")
  private String label;

  @ApiModelProperty(value = "用户U号")
  @TableField("user")
  private String user;

  @ApiModelProperty(value = "SQL语句文本")
  @TableField("sql_text")
  private String sqlText;

  @ApiModelProperty(value = "执行TASK的状态")
  @TableField("status")
  private String status;

}
